package com.component.code;

public class CommonCode {


	// 性别
	public static final int Sex_WoMan = 0;
	public static final int Sex_Man = 1;
	
	// 改变来源配置 大厅用
	/** 游戏结算 **/
	public static int CHANGESOURCE_TTPE_GAMESETTLEMENT = 1;
	/** 任务奖励 **/
	public static int CHANGESOURCE_TTPE_TASK = 2;
	/** 排行奖励 **/
	public static int CHANGESOURCE_TTPE_TOP = 3;
	/** 礼包奖励 **/
	public static int CHANGESOURCE_TTPE_GIFT = 4;
	/** 登录奖励 **/
	public static int CHANGESOURCE_TTPE_LOGIN = 5;
	/** 系统补偿 **/
	public static int CHANGESOURCE_TTPE_SYSTEM = 6;
	/** 大厅兑换 **/
	public static int CHANGESOURCE_TTPE_EXCHANGE = 7;
	/** 保险箱存取 **/
	public static int CHANGESOURCE_TTPE_SAFEBOX = 8;
	/** 礼包操作 **/
	public static int CHANGESOURCE_TTPE_GIFTBAG = 9;
	/** 修改昵称 **/
	public static int CHANGESOURCE_TTPE_MODIFYNICK = 10;
	
	
	//消息展示模式
	/** 标准弹窗 **/
	public static String WINDOW_T = "T";
	/** 浮动窗（浮动几秒后自动消失）**/
	public static String WINDOW_F = "F";
	/** 飘窗（从边缘进入，中间停留，然后再出去）**/
	public static String WINDOW_P = "P";

	public enum PropIds {
		// 利用构造函数传参
		ZHUANSHI(1),  TONGQIAN(2), QUAN_DUOBAO(3), QUAN_QB_COMEIN(4), QUAN_HUAFEI_COMEIN(5), QUAN_HUAFEI_DUIHUAN(6), QUAN_QB_DUIHUAN(7), BUQIANKA(8), XIAOLABA(
				9);
		// 定义私有变量
		private int nCode;

		// 构造函数，枚举类型只能为私有
		private PropIds(int _nCode) {
			this.nCode = _nCode;
		}

		public Integer getValue() {
			return Integer.valueOf(this.nCode);
		}
	}


	public enum CaoZuoValue {
		// 利用构造函数传参
		JOINDESK(0), EXITDESK(1), JOINBAOMING(2), EXITBAOMING(3);
		// 定义私有变量
		private int nCode;

		// 构造函数，枚举类型只能为私有
		private CaoZuoValue(int _nCode) {
			this.nCode = _nCode;
		}

		public Integer getValue() {
			return Integer.valueOf(this.nCode);
		}
	}


}
